home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Apps / Dev_Tools / CB / IBExample.m < prev    next >
Encoding:
Text File  |  1992-12-26  |  382 b   |  23 lines

  1. #pragma .h #import  <objc/Object.h> 
  2. #import "IBExample.h"
  3. #import <appkit/Window.h>
  4. #import <appkit/ScrollView.h>
  5. #import <appkit/Text.h>
  6.  
  7. @implementation IBExample:Object
  8. { id theText ;
  9. }
  10.  
  11. -setText: (char *) aString ;
  12. { // put theText into textView
  13.   [theText setText: aString] ;
  14.   return self ;
  15. }
  16.  
  17.  
  18. -setTheText: anObject ;
  19. { theText = [anObject docView] ;
  20.   return self ;
  21. }
  22.  
  23. @end